package com.hoshiicloud.goods.mapper.sku;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hoshiicloud.goods.entity.sku.ProductManage;
import com.hoshiicloud.goods.param.sku.BranchStoreProductPageParam;
import com.hoshiicloud.goods.vo.BranchStoreGoodsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品sku分配 Mapper 接口
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-04
 */
public interface ProductManageMapper extends BaseMapper<ProductManage> {

    /**
     * 根据分店Id查询商品信息
     */
    List<BranchStoreGoodsVo> listBranchStoreGoodsByStoreId(Page<BranchStoreGoodsVo> page, @Param("param") BranchStoreProductPageParam param);
}
